home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS15.ADF / Form / Form.DOC < prev    next >
Text File  |  1988-04-20  |  3KB  |  92 lines

  1. FORM written by Jon L. Sherling (609) 261-4781.  Please let me know if
  2. you find any bugs or problems with this program!
  3.  
  4. FORM is used to print formatted output to a printer through the Amiga PRT:
  5. device.  The items below will work if they are implemented by your printer
  6. driver.
  7.  
  8. Commands:
  9.  
  10. !    reset printer    on
  11.  
  12. b,B    bold            on/off
  13. i,I    italics            on/off
  14. u,U    underline        on/off
  15. n,N    normal            on
  16.  
  17. p,P    pica            on
  18. e,E    elite            on
  19. c,C    condensed        on/off
  20. x,X    expanded        on/off
  21.  
  22. Q    letter quality        on
  23. q    draft quality        on
  24.  
  25. S    superscript        on/off
  26. s    subscript        on/off
  27.  
  28. =    proporional spacing    on/off
  29. |    perforation skip    value
  30. l,L    left margin        value
  31. r,R    right margin        value
  32. <    left justify        on
  33. >    right justify        on
  34. [    full justify on        on
  35. ]    full justify off    off
  36. f,F    insert formfeed        on
  37.  
  38. ?    change command character  value
  39.  
  40. #    lines per page        value
  41. %    lines per inch        value
  42. 1,2,3    number spacing mode    on
  43.  
  44.  
  45. Now, for more information.  Every command must be preceded by a command 
  46. character.  The default command character is "\".  This may be changed
  47. using the "?" command.  For example, "\?$" changes the command character
  48. to "$" instead of "\".  
  49.  
  50. Only the q and s commands are case sensitive.
  51.  
  52. Commands marked on/off can be used to turn an attribute on or off.  Others
  53. only work as either on or off.  Those marked with "value" require a parameter.
  54.  
  55. Examples:
  56.  
  57. \!                             reset printer
  58. \bbold\b                      type the word bold in boldface
  59. \i\uitalics and underline\n   type "italics and underline" as stated and reset
  60.                               to no italics and no underline.
  61. \Qletter\q draft              type letter in LQ and draft in draft quality.
  62. x\S2\S + y\S2\S = r\S2\S      prints the x**2 +y**2 =r**2 using superscripts.
  63.  
  64. \|12\                         causes skip of 12 lines between each page.
  65.                               note that the closing command character is
  66.                               REQUIRED!
  67.  
  68. \L10\\R70\                    sets margins to 10 and 70.  Note again that
  69.                               the closing command characters are required.
  70.  
  71. \#66\                         sets paper to 66 lines.  closing command 
  72.                               character required.
  73.  
  74. \%6 or \%8                    six or eight lines per inch... NO CLOSING 
  75.                               command character.
  76.  
  77. \1                            single spacing
  78. \2                            double spacing (inserts a newline for each one
  79.                               in original).
  80. \3                            triple spacing (inserts two newlines for each..)
  81.  
  82. Also included in this archive is an example init file called form.init.
  83. The program looks for this in the current directory and then in the S:
  84. directory.  It will be read in before every file, so you can set up defaults.
  85.  
  86. USAGE:
  87.  
  88. > form inputfile [outputfile]
  89. > type outputfile to prt:
  90.  
  91. happy formatting!
  92.